<div>aaaa
	<yu-panel title="作业时长管理">
		<yu-xform related-table-name="refTable" form-type="search" v-model="searchFormdata">
			<yu-xform-group :column="4">
				<yu-xform-item label="系统代码" placeholder="系统代码" ctype="select" name="appCode" data-code="USE_ALERTM_MODE"></yu-xform-item>
				<yu-xform-item label="作业流代码" placeholder="作业流代码" ctype="input" name="groupCode"></yu-xform-item>
				<yu-xform-item label="作业代码" placeholder="作业代码" ctype="input" name="actionCode"></yu-xform-item>
				<yu-xform-item label="时长" placeholder="时长" ctype="input" name="duration"></yu-xform-item>
			</yu-xform-group>
		</yu-xform>
		<yu-toolBar>
			<yu-button @click="addFn" v-if="addFnButton">新增</yu-button>
			<yu-button @click="updateFn" v-if="updateFnButton">修改</yu-button>
			<yu-button @click="deleteFN" v-if="deleteFnButton">删除</yu-button>
		</yu-toolBar>
		<yu-xtable ref="refTable" row-number :data-url="dataUrl" selection-type="radio">
			<yu-xtable-column label="应用系统" prop="appCode"></yu-xtable-column>
			<yu-xtable-column label="所属流程" prop="groupCode">
				<template slot-scope="scope">
					<a style="text-decoration:underline;color:#636CE4 " href="javascipt:void(0);" @click="viewFn(scope.row)">{{ scope.row.groupCode }}</a>
				</template>
			</yu-xtable-column>
			<yu-xtable-column label="所属作业" prop="actionCode" data-code="USE_ALERTM_MODE"></yu-xtable-column>
			<yu-xtable-column label="时长" prop="duration"></yu-xtable-column>
		</yu-xtable>

	</yu-panel>
	<yu-dialog :title="viewTitle" :visible.sync="dialogVisible">
		<yu-xform ref="refForm" v-model="formdata" label-width="120px" >
			<yu-xform-group>
				<yu-xform-item label="应用系统"  :rules="rulesone" ctype="input" maxlength="64" name="appCode" :colspan="12" :disabled="!addFlag"></yu-xform-item>
				<yu-xform-item label="所属流程" ctype="input" maxlength="120" name="groupCode" :colspan="12" rules="required"></yu-xform-item>
				<yu-xform-item label="所属作业" ctype="select" data-code="USE_ALERTM_MODE" :disabled="!addFlag" :colspan="12" name="actionCode"
				 rules="required"></yu-xform-item>
				<yu-xform-item label="时长" ctype="input" maxlength="64" name="duration" :colspan="12" rules="required"></yu-xform-item>
			</yu-xform-group>
		</yu-xform>
		<div class="yu-grpButton">
			<yu-button v-show="cancelBtnShow" @click="cancelFn">取消</yu-button>
			<yu-button type="primary" v-if="!saveDisabled" @click="saveFn" :disabled="saveDisabled">保存</yu-button>
			<yu-button type="info" v-if="saveDisabled" @click="saveFn" :disabled="saveDisabled">保存</yu-button>
		</div>
	</yu-dialog>

</div>